import time

x=0
while True:
    x=x+1
    print x
    time.sleep(5)